package cn.livingCloud.repository;

import cn.livingCloud.dto.Page;
import cn.livingCloud.entity.core.PushGroupMember;
import cn.livingCloud.entity.user.Member;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PushGroupMemberMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(PushGroupMember record);

    int insertSelective(PushGroupMember record);

    PushGroupMember selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(PushGroupMember record);

    int updateByPrimaryKey(PushGroupMember record);

    List<PushGroupMember> getListByPushGroupUuid(Page MemberByPushGroupUuidListDto);

    List<PushGroupMember> findByMemberUuid(String memberUuid);

    List<Member> getMemberByGroup(String uuid);
}